package com.ruoyi.yanjing.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 温度日志对象 c5_device_temperature
 *
 * @author whz
 * @date 2024-11-18
 */

@ApiModel(value = "DeviceTemperature", description = "温度日志对象")
public class DeviceTemperature extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;


    /** 电杆id */
    @Excel(name = "电杆id")
    @ApiModelProperty(value = "电杆id")
    @TableField(exist = false)
    private Long poleId;
    /** 设备名称 */
    @Excel(name = "设备名称")
    @ApiModelProperty(value = "设备名称")
    @TableField(exist = false)
    private String pointDeviceName;

    /** 点位id */
    @Excel(name = "点位id")
    @ApiModelProperty(value = "点位id")
    private Long pointId;

    /** 点位code */
    @Excel(name = "点位code")
    @TableField(exist = false)
    private String pointCode;

    /** 点位名称 */
    @Excel(name = "点位名称")
    @ApiModelProperty(value = "点位名称")
    @TableField(exist = false)
    private String pointName;

    /** 当前温度 */
    @Excel(name = "当前温度")
    @ApiModelProperty(value = "当前温度")
    private String currentTemperature;

    /** 当前电压 */
    @Excel(name = "当前电压")
    @ApiModelProperty(value = "当前电压")
    private String currentVoltage;


    /** 数据上报时间 */
    @ApiModelProperty(value = "数据上报时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "数据上报时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date reportTime;

    /** 数据上报开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "数据上报时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date startReportTime;

    /** 数据上报结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "数据上报时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date endReportTime;


    /** 电杆编码 */
    @ApiModelProperty(value = "电杆编码")
    @Excel(name = "电杆编码")
    private String poleCode;
    /** 电杆名称 */
    @ApiModelProperty(value = "电杆名称")
    @Excel(name = "电杆名称")
    private String poleName;





    /** 线路编码 */
    @ApiModelProperty(value = "电杆名称")
    @Excel(name = "线路编码")
    private String lineCode;
    /** 线路名称 */
    @ApiModelProperty(value = "线路名称")
    @Excel(name = "线路名称")
    private String lineName;
    /** 区域名称 */
    @ApiModelProperty(value = "区域名称")
    @Excel(name = "区域名称")
    private String areaName;
    /** 监测点相位 */
    @ApiModelProperty(value = "监测点相位")
    @Excel(name = "监测点相位")
    private String phase;




    /** 备用字段1 */
    @Excel(name = "备用字段1")
    private String standby1;

    /** 备用字段2 */
    @Excel(name = "备用字段2")
    private String standby2;

    /** 备用字段3 */
    @Excel(name = "备用字段3")
    private String standb3;


    /**
     * 电池电压，单位mV
     */
    @Excel(name = "电池电压")
    private String bateryVol;

    /**
     * 电源状态，low,norm,full
     */
    @Excel(name = "电池状态")
    private String powerStat;

    public String getBateryVol() {
        return bateryVol;
    }

    public void setBateryVol(String bateryVol) {
        this.bateryVol = bateryVol;
    }

    public String getPowerStat() {
        return powerStat;
    }

    public void setPowerStat(String powerStat) {
        this.powerStat = powerStat;
    }

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long createEmployeeId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long updateEmployeeId;

    public String getCurrentVoltage() {
        return currentVoltage;
    }

    public void setCurrentVoltage(String currentVoltage) {
        this.currentVoltage = currentVoltage;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setPointId(Long pointId)
    {
        this.pointId = pointId;
    }

    public Long getPointId()
    {
        return pointId;
    }
    public void setCurrentTemperature(String currentTemperature)
    {
        this.currentTemperature = currentTemperature;
    }

    public String getCurrentTemperature()
    {
        return currentTemperature;
    }
    public void setReportTime(Date reportTime)
    {
        this.reportTime = reportTime;
    }

    public Date getReportTime()
    {
        return reportTime;
    }
    public void setStandby1(String standby1)
    {
        this.standby1 = standby1;
    }

    public String getStandby1()
    {
        return standby1;
    }
    public void setStandby2(String standby2)
    {
        this.standby2 = standby2;
    }

    public String getStandby2()
    {
        return standby2;
    }
    public void setStandb3(String standb3)
    {
        this.standb3 = standb3;
    }

    public String getStandb3()
    {
        return standb3;
    }
    public void setCreateEmployeeId(Long createEmployeeId)
    {
        this.createEmployeeId = createEmployeeId;
    }

    public Long getCreateEmployeeId()
    {
        return createEmployeeId;
    }
    public void setUpdateEmployeeId(Long updateEmployeeId)
    {
        this.updateEmployeeId = updateEmployeeId;
    }

    public Long getUpdateEmployeeId()
    {
        return updateEmployeeId;
    }

    public String getPointCode() {
        return pointCode;
    }

    public void setPointCode(String pointCode) {
        this.pointCode = pointCode;
    }

    public String getPointName() {
        return pointName;
    }

    public void setPointName(String pointName) {
        this.pointName = pointName;
    }

    public Date getStartReportTime() {
        return startReportTime;
    }

    public void setStartReportTime(Date startReportTime) {
        this.startReportTime = startReportTime;
    }

    public Date getEndReportTime() {
        return endReportTime;
    }

    public void setEndReportTime(Date endReportTime) {
        this.endReportTime = endReportTime;
    }


    public String getPoleCode() {
        return poleCode;
    }

    public void setPoleCode(String poleCode) {
        this.poleCode = poleCode;
    }

    public String getPoleName() {
        return poleName;
    }

    public void setPoleName(String poleName) {
        this.poleName = poleName;
    }

    public String getLineCode() {
        return lineCode;
    }

    public void setLineCode(String lineCode) {
        this.lineCode = lineCode;
    }

    public String getLineName() {
        return lineName;
    }

    public void setLineName(String lineName) {
        this.lineName = lineName;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public String getPhase() {
        return phase;
    }

    public void setPhase(String phase) {
        this.phase = phase;
    }

    public Long getPoleId() {
        return poleId;
    }

    public void setPoleId(Long poleId) {
        this.poleId = poleId;
    }

    public String getPointDeviceName() {
        return pointDeviceName;
    }

    public void setPointDeviceName(String pointDeviceName) {
        this.pointDeviceName = pointDeviceName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("pointId", getPointId())
            .append("currentTemperature", getCurrentTemperature())
            .append("reportTime", getReportTime())
            .append("standby1", getStandby1())
            .append("standby2", getStandby2())
            .append("standb3", getStandb3())
            .append("createTime", getCreateTime())
            .append("createEmployeeId", getCreateEmployeeId())
            .append("updateTime", getUpdateTime())
            .append("updateEmployeeId", getUpdateEmployeeId())
            .toString();
    }
}
